package com.mcptt.config.service;


public class CallPriority {
	private int emergencyPriority = -1;
	private int imminentPriority = -1;
	private int normalPriority = -1;
	
	public static CallPriority getDefaultCallPriority()
	{
		return new CallPriority();
	}
	private CallPriority()
	{}
	
	public CallPriority(int emergencyPriority,int imminentPriority,int normalPriority)
	{
		this.emergencyPriority = emergencyPriority;
		this.imminentPriority = imminentPriority;
		this.normalPriority = normalPriority;
	}
	
	public int getEmergencyPriority() {
		return emergencyPriority;
	}
	public int getImminentPriority() {
		return imminentPriority;
	}
	public int getNormalPriority() {
		return normalPriority;
	}
	
	public String toString() 
	{
		StringBuffer strBuff = new StringBuffer("CallPriority:");
		strBuff.append("emergencyPriority = ").append(emergencyPriority).append(",");
		strBuff.append("imminentPriority = ").append(imminentPriority).append(",");
		strBuff.append("normalPriority = ").append(normalPriority).append(";");

		return strBuff.toString();
	}
}
